<style scoped>

</style>

<template>
  <h1>设置主页</h1>
  <el-button type="success" @click="toLogin()">Login</el-button>
</template>


<script setup>
  import {useRouter} from "vue-router";
  const router = useRouter();
  const toLogin = () => {
    router.push("/login");
  }
</script>
